package com.adrian.api;

import com.adrian.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Auther: Adrian
 * @Date: 2020/3/18 20:21
 * @Description:
 */
@FeignClient(value = "springcloud-producer")
public interface UserFeign {

    @RequestMapping("/list")
    List<User> listUser();
}
